﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace RPGX.Data.Models
{
    public class PlayerModel
    {
        #region Properties

        public Int64 PlayerId
        {
            get { return _playerId; }
            set { _playerId = value; }
        }
        private Int64 _playerId = 0;

        public Int64 ClientAccountId
        {
            get { return _clientAccountId; }
            set { _clientAccountId = value; }
        }
        private Int64 _clientAccountId = 0;

        public string Handle
        {
            get { return _handle; }
            set { _handle = value; }
        }
        private string _handle = String.Empty;

        public float PositionX
        {
            get { return _positionX; }
            set { _positionX = value; }
        }
        private float _positionX = 0;

        public float PositionZ
        {
            get { return _positionZ; }
            set { _positionZ = value; }
        }
        private float _positionZ = 0;

        public bool IsActive
        {
            get { return _isActive; }
            set { _isActive = value; }
        }
        private bool _isActive = false;

        public DateTime LastLoginDate
        {
            get { return _lastLoginDate; }
            set { _lastLoginDate = value; }
        }
        private DateTime _lastLoginDate = DateTime.MinValue;

        public DateTime LastLogoutDate
        {
            get { return _lastLogoutDate; }
            set { _lastLogoutDate = value; }
        }
        private DateTime _lastLogoutDate = DateTime.MinValue;

        public int ModelIndex
        {
            get { return _meshIndex; }
            set { _meshIndex = value; }
        }
        private int _meshIndex = 0;

        #endregion
    }
}
